package com.example.result;

import com.example.domain.User;
import lombok.Data;

@Data
public class UserResult {
    private String username;
    private String email;

    public UserResult(){

    }
    public UserResult(User user){
        this.username=user.getUsername();
        this.email=user.getEmail();
    }
}
